package com.telit.android.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="完成任务参数", description="完成任务参数")
public class FinishTaskDto {

    @ApiModelProperty(value = "护林员ID")
    @NotNull(message = "护林员id不能为空")
    private Long forestkeeperId;

    @ApiModelProperty(value = "任务ID")
    @NotNull(message = "任务id不能为空")
    private Long taskId;

    @ApiModelProperty(value = "任务状态")
    private String status;

    @ApiModelProperty(value = "任务类型")
    @NotBlank(message = "任务类型不能为空")
    private String trackType;

}
